<?php

use Faker\Generator as Faker;

$factory->define(App\Models\Project::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'department_id' => mt_rand(1, 10),
        'post' => $faker->title,
        'people' => mt_rand(1, 10),
        'principal' => $faker->name,
        'start_time' => \Carbon\Carbon::now()->getTimestamp(),
        'end_time' => \Carbon\Carbon::now()->addDays(15)->getTimestamp(),
    ];
});